package com.woniuxy.rabc.mapper;

import com.woniuxy.rabc.dto.UserDto;
import com.woniuxy.rabc.entity.SysUser;
import com.woniuxy.rabc.vo.UserVo;

import java.util.List;

/**
* @author PC
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2022-11-24 19:16:49
* @Entity com.woniuxy.rabc.entity.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectByTelAndPwd(UserDto userDto);
    List<UserVo> selectByLike(UserDto userDto);
    List<SysUser> selectByDeptId(Long deptID);
}
